home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
datatypes
/
clidt
/
source
/
rcs
/
classbase.h,v
< prev
next >
Wrap
Text File
|
1996-04-07
|
3KB
|
120 lines
head 39.2;
access;
symbols
V39_2:39.2
V39_1:39.1;
locks; strict;
comment @ * @;
39.2
date 95.11.13.23.45.50; author StRuppert; state Exp;
branches;
next 39.1;
39.1
date 95.08.07.23.46.06; author StRuppert; state Exp;
branches;
next ;
desc
@initial
@
39.2
log
@*** empty log message ***
@
text
@/*
** $PROJECT: catalog.datatype
**
** $VER: classbase.h 39.2 (10.08.95)
**
** by
**
** Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
**
** (C) Copyright 1995
** All Rights Reserved !
**
** $HISTORY:
**
** 10.08.95 : 039.002 : now base is datatypesclass
** 06.08.95 : 039.001 : initial
**
*/
/* ------------------------- include system stuff ------------------------- */
#include "system.h"
/* --------------------------- include my stuff --------------------------- */
#include "/misc/register.h"
#include "/misc/debug.h"
#include "protos.h"
/* -------------- set some stuff for the generic classbase.c -------------- */
/* set the function name to get a pointer to our class */
#define ENGINE ObtainCliEngine
#define DATATYPENAME "cli.datatype"
#define SUPERCLASSNAME "datatypesclass"
/* ------------------------- ClassBase structure -------------------------- */
struct ClassBase
{
struct Library cb_Lib;
UWORD cb_UniqueCnt; /* Counter for unique filenames */
struct Library *cb_SysBase;
struct Library *cb_DOSBase;
struct Library *cb_IntuitionBase;
struct Library *cb_UtilityBase;
struct Library *cb_DataTypesBase;
BPTR cb_SegList;
struct SignalSemaphore cb_Lock; /* Access lock */
Class *cb_Class;
};
/* ---------------------------- library bases ----------------------------- */
#define SysBase cb->cb_SysBase
#define DOSBase cb->cb_DOSBase
#define UtilityBase cb->cb_UtilityBase
#define IntuitionBase cb->cb_IntuitionBase
#define DataTypesBase cb->cb_DataTypesBase
@
39.1
log
@*** empty log message ***
@
text
@d4 1
a4 1
** $VER: classbase.h 39.1 (06.08.95)
d15 1
a32 3
/* set , which datatype library should be opened during our OpenLibrary() */
#define SUPERCLASSDATATYPE "datatypes/ascii.datatype"
d37 1
a37 1
#define SUPERCLASSNAME "ascii.datatype"
d49 1
a49 1
struct Library *cb_SuperClassBase;
d62 1
a62 1
#define SuperClassBase cb->cb_SuperClassBase
@